package com.atldy.common.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @version 1.0
 * @Author: li-dong-yang
 * @CreateTime: 2021-09-15 17:20
 * @Description： 结果响应
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ResultResponse<T> implements Serializable {

    private Integer code;
    private String message;
    private T Data;

    public ResultResponse(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}